package com.reisen.config;

import com.reisen.utils.PathUtils;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.config.WebFluxConfigurer;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;

/**
 * @author reisen7
 * @date 2025/6/1 7:29
 * @description 
 */

@Configuration
public class FileConfig implements WebFluxConfigurer { // Implement WebFluxConfigurer instead of WebMvcConfigurer

    /**
     * Register resource handlers to map URL patterns to filesystem directories
     *
     * @param registry WebFlux's resource handler registry for configuring static resources
     */
    public void addResourceHandlers(ResourceHandlerRegistry registry) {

    }
}


















